import Cinema from "@/views/Cinema";

// import Store from "@/store/Login"

// import VueRouter from 'vue-router'









export default {
    path: "/cinema",
    component: Cinema,

}





// console.log(Store.state.isLogin);

// const router = new VueRouter({
//     path: "/cinema",
//     component: Cinema
// })


// console.log(Store.state.isLogin);

// let isLogin = Store.state.isLogin;
// console.log(isLogin);
// console.log(Store.state.login.isLogin);

// let isLogin = Store.state.login.isLogin;
// router.beforeEach((to, from, next) => {
//     let pathFrom = from.path;
//     console.log(pathFrom);

//     let pathTo = to.path;
//     console.log(pathTo);
//     if (path == "/mine/login") {
//         next();
//     } else {
//         if (isLogin) {
//             next();
//         } else {
//             next("/mine/login")
//         }
//     }
//     next();
// })






// export default router;
